﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace MediumApi.Db
{
    /// <summary>
    /// 管理员
    /// </summary>
    [Table("base_user")]
    public class BaseUser
    {
        public string Id { get; set; }
        public string UserName { get; set; }
        public string Name { get; set; }
        public string AvatarUrl { get; set; }
        public string PassWord { get; set; }
        public int RoleId { get; set; }
        public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
        public int Status { get; set; }
        public string Describe { get; set; }
    }
}
